FROM java:8
VOLUME /tmp
ADD ./target/hrserver-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 8082
ENTRYPOINT ["java","-Dspring.config.location=file:/usr/local/application.properties","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]